package com.ssm.blog.service;

import com.github.pagehelper.PageInfo;
import com.ssm.blog.pojo.Message;

import java.util.List;

public interface MessageService {
    PageInfo<Message> getMessageList(int pageNum);

    void addMessage(Message message);
}
